package com.app.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Data
@TableName("lm_department")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class DepartmentModel {
    private int id;
    @TableField(exist = false)
    private int departmentId;
    private String unitName;
    @JsonIgnore
    private String unitMobile;
    private int sort;
    @TableField(exist = false)
    private String typeText;
    private int type;
    @TableField(exist = false)
    private Double taskPlan;
    @TableField(exist = false)
    private Double amount;
    @TableField(exist = false)
    private String rate;

    @TableField(exist = false)
    private Double taskCompletion;//完成度
    @TableField(exist = false)
    private Double completionFunds;//完成金额
    @TableField(exist = false)
    private String statusText;//状态
    @TableField(exist = false)
    private Integer status;//状态
    @JsonIgnore
    private LocalDateTime create_time;
    @JsonIgnore
    private LocalDateTime update_time;
    @JsonIgnore
    @TableField(exist = false)
    private Integer limit;
    @JsonIgnore
    @TableField(exist = false)
    private Integer page;
    @TableField(exist = false)
    private List<KeyWorkModel> keyWorkModelList;
}
